package com.citasgoo.admin.entity;

import java.io.Serializable;
import java.util.Date;

public class SysMsgHist implements Serializable {
    /**
     * 编号
     */
    private Integer id;

    /**
     * 消息编号
     */
    private String msgCode;

    private String msgWay;

    /**
     * 发送目标
     */
    private String msgTo;

    private String msgResult;

    /**
     * 发送时间
     */
    private Date sendTime;

    private String respCode;

    private String respDesc;

    /**
     * 操作人员
     */
    private String operName;

    /**
     * 操作时间
     */
    private Date operTime;

    /**
     * 预留域1：发送失败信息
     */
    private String reservedField1;

    /**
     * 预留域2
     */
    private String reservedField2;

    /**
     * 预留域3
     */
    private String reservedField3;

    /**
     * 发送正文
     */
    private String msgContext;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode == null ? null : msgCode.trim();
    }

    public String getMsgWay() {
        return msgWay;
    }

    public void setMsgWay(String msgWay) {
        this.msgWay = msgWay == null ? null : msgWay.trim();
    }

    public String getMsgTo() {
        return msgTo;
    }

    public void setMsgTo(String msgTo) {
        this.msgTo = msgTo == null ? null : msgTo.trim();
    }

    public String getMsgResult() {
        return msgResult;
    }

    public void setMsgResult(String msgResult) {
        this.msgResult = msgResult == null ? null : msgResult.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode == null ? null : respCode.trim();
    }

    public String getRespDesc() {
        return respDesc;
    }

    public void setRespDesc(String respDesc) {
        this.respDesc = respDesc == null ? null : respDesc.trim();
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName == null ? null : operName.trim();
    }

    public Date getOperTime() {
        return operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getReservedField1() {
        return reservedField1;
    }

    public void setReservedField1(String reservedField1) {
        this.reservedField1 = reservedField1 == null ? null : reservedField1.trim();
    }

    public String getReservedField2() {
        return reservedField2;
    }

    public void setReservedField2(String reservedField2) {
        this.reservedField2 = reservedField2 == null ? null : reservedField2.trim();
    }

    public String getReservedField3() {
        return reservedField3;
    }

    public void setReservedField3(String reservedField3) {
        this.reservedField3 = reservedField3 == null ? null : reservedField3.trim();
    }

    public String getMsgContext() {
        return msgContext;
    }

    public void setMsgContext(String msgContext) {
        this.msgContext = msgContext == null ? null : msgContext.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", msgCode=").append(msgCode);
        sb.append(", msgWay=").append(msgWay);
        sb.append(", msgTo=").append(msgTo);
        sb.append(", msgResult=").append(msgResult);
        sb.append(", sendTime=").append(sendTime);
        sb.append(", respCode=").append(respCode);
        sb.append(", respDesc=").append(respDesc);
        sb.append(", operName=").append(operName);
        sb.append(", operTime=").append(operTime);
        sb.append(", reservedField1=").append(reservedField1);
        sb.append(", reservedField2=").append(reservedField2);
        sb.append(", reservedField3=").append(reservedField3);
        sb.append(", msgContext=").append(msgContext);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}